import math
n = int(input())
arr = list(map(int,input().split(" ")))
aver = sum(arr)/n
D = 0
for i in range(n):
    arr[i] -= aver
    D += arr[i]*arr[i]
D/= n
D **= 0.5
for i in range(n):
    print(arr[i]/D)